﻿<%@ Page Language="c#" CodeBehind="MyAP.aspx.cs" AutoEventWireup="false" Inherits="BEGDC.CC.Web.MyAP" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title></title>
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../css/content/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="../css/content/entity.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>

    <script src="../js/jquery-ui.min.js" type="text/javascript"></script>

    <script src="../js/entity.js.aspx" type="text/javascript"></script>

    <script src="../js/common.js" type="text/javascript"></script>

    <script type="text/javascript">

        var openedWindow;
        var timer;
    
    </script>

</head>
<body>
    <form method="post" runat="server">
    <div>
        <div class="sitemapbox">
            <div id="info" class="sitemap">
                &nbsp;&raquo;&nbsp;EV&nbsp;&raquo;&nbsp;My Activity
            </div>
        </div>
        <table cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <!--tab区域-->
                        <div class="tabbox purplebg_dark">
                            <ul class="tabpos">
                                <% if (IsAccessMyTask())
                                   { %>
                                <li><a href="MyTask.aspx?flow=EV" class="tab_link">
                                    <%=Resources.PageTitles.ToProcess%></a> </li>
                                <%}%>
                                <li><span class="tab_active">
                                    <%=Resources.PageTitles.ActionPoint%></span> </li>
                            </ul>
                        </div>
                        <div class="formbox">
                            <span class=" float_lft">
                                <div class="formbox_float_lft">
                                    AP NO (纪要单号):
                                    <asp:TextBox ID="txtAPNo" CssClass="txtbox" onmouseover="this.className='txtboxover';"
                                        onMouseOut="this.className='txtbox';" runat="server" MaxLength="30" onblur="javascript:checkbadwords(this)"></asp:TextBox>
                                </div>
                                <div class="formbox_float_rgt">
                                    <asp:ResourceButton ID="btnSearch" runat="server" Text="Search" ToolTip="SearchTips"
                                        CssClass="btn" />
                                    <asp:ResourceButton ID="btnExport" runat="server" Text="Export" ToolTip="ExportTips"
                                        CssClass="btn" />
                                </div>
                            </span>
                        </div>
                        <div id="divGrid">
                            <asp:DataGrid ID="dgTaskList" PagerStyle-Visible="False" AllowSorting="True" AllowPaging="True"
                                PageSize="10" runat="server" CellPadding="0" GridLines="both" AutoGenerateColumns="False"
                                ShowHeader="True" CssClass="tablestyle">
                                <SelectedItemStyle CssClass="itemselected"></SelectedItemStyle>
                                <ItemStyle CssClass="tbody"></ItemStyle>
                                <HeaderStyle CssClass="thead"></HeaderStyle>
                                <FooterStyle></FooterStyle>
                                <Columns>
                                    <asp:BoundColumn DataField="APID" ReadOnly="True" Visible="False" SortExpression="APID">
                                        <ItemStyle Wrap="False"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:TemplateColumn HeaderText="APNo<br />纪要单号" SortExpression="APNo">
                                        <ItemStyle Wrap="False"></ItemStyle>
                                        <ItemTemplate>
                                            <span class="hand_span" onclick="openedWindow = window.open('../UserControls/EV/ActionPoint.aspx?APID=<%# DataBinder.Eval(Container.DataItem,"APID")%>&MeetingID=<%# DataBinder.Eval(Container.DataItem, "MeetingID")%>&Status=Full','','scrollbars=yes,resizable=yes');SetTimer();">
                                                <%# DataBinder.Eval(Container.DataItem,"APNo") %></span>
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn DataField="AppNo" ReadOnly="True" HeaderText="Application No <br />申请单号"
                                        SortExpression="AppNo">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="APType" ReadOnly="True" HeaderText="AP Type AP<br />类型"
                                        SortExpression="APType" Visible="False">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="Priority" ReadOnly="True" HeaderText="Priority<br />优先级"
                                        SortExpression="Priority">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="Status" ReadOnly="True" HeaderText="Status<br />状态" SortExpression="Status">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="APStep" ReadOnly="True" HeaderText="Current Step<br />当前步骤"
                                        SortExpression="APStep">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="DueTime" ReadOnly="True" HeaderText="Due Date<br />截止时间"
                                        DataFormatString="{0:yyyy/MM/dd}" SortExpression="DueTime">
                                        <ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
                                    </asp:BoundColumn>
                                    <asp:TemplateColumn HeaderText="Action<br />操作">
                                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                        <ItemTemplate>
                                            <img src="../Images/COMEDIT.GIF" alt="COMEDIT" onclick="openedWindow = window.open('../UserControls/EV/ActionPoint.aspx?APID=<%# DataBinder.Eval(Container.DataItem,"APID")%>&MeetingID=<%# DataBinder.Eval(Container.DataItem, "MeetingID")%>&Status=Full','','scrollbars=yes,resizable=yes');SetTimer();"
                                                onmouseover="this.style.cursor='hand'" />
                                        </ItemTemplate>
                                    </asp:TemplateColumn>
                                </Columns>
                            </asp:DataGrid>
                        </div>
                        <table id="Table3" cellspacing="0" cellpadding="0" class="pagecounting">
                            <tbody>
                                <tr>
                                    <td>
                                        Total Records:
                                        <asp:Label ID="lblRecordCount" runat="server">lblRecordCount</asp:Label>
                                        &nbsp;&nbsp;&nbsp;
                                        <img src="../images/PageIcon.GIF" alt="PageIcon" />&nbsp;Page:
                                        <asp:Label ID="lblCurrentPageIndex" runat="server">lblCurrentPageIndex</asp:Label>&nbsp;/&nbsp;
                                        <asp:Label ID="lblPageCount" runat="server">lblPageCount</asp:Label>
                                    </td>
                                    <td align="right">
                                        <asp:ImageButton ID="btnPageFirst" runat="server" ImageUrl="../images/pg_first.gif"
                                            ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                        <asp:ImageButton ID="btnPagePrev" runat="server" ImageUrl="../images/pg_pre.gif"
                                            ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                        <asp:ImageButton ID="btnPageNext" runat="server" ImageUrl="../images/pg_next.gif"
                                            ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp;
                                        <asp:ImageButton ID="btnPageLast" runat="server" ImageUrl="../images/pg_last.gif"
                                            ImageAlign="AbsMiddle"></asp:ImageButton>&nbsp; Go To Page:
                                        <asp:TextBox ID="txtPage" runat="server" CssClass="txtbox pager-text" MaxLength="5">
                                        </asp:TextBox><asp:ImageButton ID="btnGotoPage" runat="server" ImageUrl="../images/PageIcon.GIF">
                                        </asp:ImageButton>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
    <%--页面刷新时显示--%>
    <%-- <div id="dialog-message" title="Loading..." style="display: none">
        <p>
            <br />
            <span class="entity-loading"></span><span>Operation in process, please wait...<br />
                <br />
                处理中, 请稍候。。。</span>
        </p>
    </div>--%>
</body>
</html>
